package cn.com.unionlife.hy.system.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import cn.com.unionlife.hy.core.vo.BaseVO;

public class UserVO extends BaseVO {
	private static final long serialVersionUID = 1L;

	private String um_user_id;
	private String user_name;// 用户名
	private String password;// 密码
	private String real_name;// 姓名
	private Date birthday;// 生日
	private String gender;// 性别
	private Integer certi_type;// 证件类型
	private String certi_no;// 证件号码
	private Integer user_type;// 用户类型
	private String is_activie;// 用户是否有效
	private String employee_number;// 员工编号
	private String mail;// 电子邮件
	private String mobile;// 电话
	private String telephone;// 办公电话
	private String disable_cause;// 用户失效原因
	private Date create_date;// 创建时间
	private Date update_date;// 更新时间

	private boolean enabled; // 是否启用
	private boolean admin; // 是否超级管理员

	private OrgVO org;// 所属组织机构

	private Set<OrgVO> authorizedOrgs = new HashSet<OrgVO>(); // 有权限组织
	private List<MenuVO> menus = new ArrayList<MenuVO>(); // 有权限的组织

	public String getUm_user_id() {
		return um_user_id;
	}

	public void setUm_user_id(String um_user_id) {
		this.um_user_id = um_user_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getReal_name() {
		return real_name;
	}

	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Integer getCerti_type() {
		return certi_type;
	}

	public void setCerti_type(Integer certi_type) {
		this.certi_type = certi_type;
	}

	public String getCerti_no() {
		return certi_no;
	}

	public void setCerti_no(String certi_no) {
		this.certi_no = certi_no;
	}

	public Integer getUser_type() {
		return user_type;
	}

	public void setUser_type(Integer user_type) {
		this.user_type = user_type;
	}

	public String getIs_activie() {
		return is_activie;
	}

	public void setIs_activie(String is_activie) {
		this.is_activie = is_activie;
	}

	public String getEmployee_number() {
		return employee_number;
	}

	public void setEmployee_number(String employee_number) {
		this.employee_number = employee_number;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getDisable_cause() {
		return disable_cause;
	}

	public void setDisable_cause(String disable_cause) {
		this.disable_cause = disable_cause;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public boolean isAdmin() {
		return admin;
	}

	public void setAdmin(boolean admin) {
		this.admin = admin;
	}

	public OrgVO getOrg() {
		return org;
	}

	public void setOrg(OrgVO org) {
		this.org = org;
	}

	public Set<OrgVO> getAuthorizedOrgs() {
		return authorizedOrgs;
	}

	public void setAuthorizedOrgs(Set<OrgVO> authorizedOrgs) {
		this.authorizedOrgs = authorizedOrgs;
	}

	public List<MenuVO> getMenus() {
		return menus;
	}

	public void setMenus(List<MenuVO> menus) {
		this.menus = menus;
	}

}
